package API.ExceptionAPI.CatchError.Logic;

public class IfNoError {
    public static void main(String[] args) {
        try {
            System.out.println(10);
        } catch (Exception e) {
            // 如果try包裹的语句没有异常, catch内部的语句将不会执行
            System.out.println("Will I execute?");
            System.out.println(e.getMessage());
        }
    }
}
